import { Page } from "maishu-chitu-react";

export let siteMap = {
    nodes: {
        emtpy: { action: (page: Page) => null },
        page: 'page',//{ action: `${dir}/page` },
        home_index: 'home_index',//{ action: home_index_action, cache: true },
        home_class: 'home_class',//{ action: home_class_action, cache: true },
        home_product: 'home_product',// { action: `${dir}/page`, cache: false },
        home_productList: 'home_productList',//{ action: `${dir}/home/productList`, cache: true },
        shopping_invoice: 'shopping_invoice',//{ action: `${dir}/shopping/invoice` },
        shopping_purchase: 'shopping_purchase',//{ action: `${dir}/shopping/purchase` },
        shopping_orderCoupons: 'shopping_orderCoupons',//{ action: `${dir}/shopping/orderCoupons` },
        shopping_orderList: 'shopping_orderList',//{ action: `${dir}/shopping/orderList`, cache: true },
        shopping_orderProducts: 'shopping_orderProducts',//{ action: `${dir}/shopping/orderProducts`, cache: true },
        shopping_shoppingCart: 'shopping_shoppingCart',//{ action: shopping_shoppingCart_action, cache: true },
        shopping_storeCoupons: 'shopping_storeCoupons',//{ action: `${dir}/shopping/storeCoupons` },
        user_coupon: 'user_coupon',//{ action: `${dir}/user/coupon` },
        user_index: 'user_index',//{ action: user_index_action },
        user_favors: 'user_favors',//{ action: `${dir}/user/favors`, cache: true },
        user_forgetPassword: 'user_forgetPassword',//{ action: `${dir}/user/forgetPassword` },
        user_login: 'user_login',//{ action: `${dir}/user/login` },
        user_regions: 'user_regions',//{ action: `${dir}/user/regions`, cache: true },
        // user_provinces: { action: `${dir}/user/regions`, cache: true },
        // user_cities: { action: `${dir}/user/regions`, cache: true },
        // user_countries: { action: `${dir}/user/regions`, cache: true },
        user_register: 'user_register',//{ action: `${dir}/user/register`, cache: true },
        user_receiptEdit: 'user_receiptEdit',//{ action: `${dir}/user/receiptEdit`, cache: true },
        user_receiptList: 'user_receiptList',//{ action: `${dir}/user/receiptList`, cache: true },
        user_userInfo: 'user_userInfo',//{ action: `${dir}/user/userInfo` },
        user_accountSecurity_index: 'user_accountSecurity_index',//{ action: `${dir}/user/accountSecurity/index` },
        user_accountSecurity_loginPassword: 'user_accountSecurity_loginPassword',//{ action: `${dir}/user/accountSecurity/loginPassword` },
        user_accountSecurity_paymentPassword: 'user_accountSecurity_paymentPassword',//{ action: `${dir}/user/accountSecurity/paymentPassword` },
        user_accountSecurity_mobileBinding: 'user_accountSecurity_mobileBinding',//{ action: `${dir}/user/accountSecurity/mobileBinding` }
    },
    default: null
}